home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2523 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.0 KB

  1. Path: peer-news.britain.eu.net!demon!redrobe.demon.co.uk
  2. From: Mike@Redrobe.demon.co.uk (Mike)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Datatype write method?
  5. Date: 30 Jan 96 10:31:00 +0000
  6. Message-ID: <1563.6603T631T38@Redrobe.demon.co.uk>
  7. References: <9601082151.AA002hy@redrobe.demon.co.uk> <30f3ba1d@cu-amiga.demon.co.uk>
  8. NNTP-Posting-Host: redrobe.demon.co.uk
  9. X-NNTP-Posting-Host: redrobe.demon.co.uk
  10. X-Newsreader: THOR 2.22 (Amiga;TCP/IP)
  11.  
  12.  
  13. Hi, Mat Bettinsonn , on 10-Jan-96 07:07:41 you scribbled....
  14. >-=<In a message of 08 Jan 96 mike Redrobe wrote to All>=-
  15.  
  16. >Hi mike,
  17.  
  18.  mR>> Hmm but who controls what format it is saved in? Multiview/save function
  19.  mR>> should have a listview or something for formats?
  20.  
  21. >It would be nice but there isn't a library call provided to give you a list
  22. >of available formats :-(
  23.  
  24. well you *could* query each active datatype to see if it supports DTM_WRITE ?
  25. ...or do they say the support it, but use the supercalss to do it?
  26.  
  27.  mR>> or are you limited to having the datatype that loaded the image, save
  28.  mR>> it also:
  29.  
  30.  mR>> e.g. gif ->multiview ->iff
  31.  mR>>                      ->gif (if gif.datatype supported it)
  32.  
  33. >You can choose IFF or RAW as the save type. The IFF is handled by
  34. >picture.datatype and RAW is handled by the actual datatype. In theory you
  35. >should be able to create a new datatype of another type and save using it's
  36. >RAW method.
  37.  
  38. multiview won't... but perhaps that'll get rewritten for OS4 ;)
  39.  
  40. >eg: Load up a GIF, create a JPEG datatype and save as JPEG.
  41.  
  42. >.-------------------------------------------------.
  43. >| \  / | |/   Internet: Vik@cu-amiga.demon.co.uk  |
  44. >|  \/  | |\             V.S.Kimyani@herts.ac.uk   |
  45. >|                 Fido: 2:254/205.1               |
  46. >`-------------------------------------------------'
  47.  
  48.  
  49.  
  50.  
  51. Mike
  52.  
  53. --
  54. ---------------------------------------------------------------------------
  55. Mike Redrobe - Mike@Redrobe.demon.co.uk         MikeRR on #Amiga
  56. ---------------------------------------------------------------------------
  57.  
  58.